<template>
  <div class="home">
    <img alt="Vue logo" src="../assets/logo.png" />
    <HelloWorld msg="我是HelloWorld组件" />
    <h1>我的本组件的h1</h1>
  </div>
</template>

<script>
// @ is an alias to /src
import HelloWorld from "@/components/HelloWorld.vue";

export default {
  name: "HomeView",
  data() {
    return {
      show1: false,
      show2: false,
    };
  },
  components: {
    HelloWorld,
  },
  methods: {},
};
</script>

<style scoped>
.home {
  max-width: 600px;
  text-align: center;
  margin: 0 auto;
}
h1 {
  color: red;
}
</style>